package com.library.service;

import com.library.common.base.ApiResult;
import com.library.common.entity.MyPage;
import com.library.entity.RBookCar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.library.entity.dto.BookCarDto;
import com.library.entity.vo.BookCarVo;
import com.library.entity.vo.BookUserVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 图书购物车 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-10-22
 */
public interface RBookCarService extends IService<RBookCar> {

    void export(BookCarDto dto, HttpServletResponse response);

    boolean edit(RBookCar rBookCar);

    boolean add(RBookCar rBookCar);

    RBookCar detail(Long id);

    MyPage<RBookCar> queryPage(BookCarDto bookCarDto);
}
